﻿using Exceptionless;
using Microsoft.AspNetCore.Mvc;
using System;
using Volo.Abp.AspNetCore.Mvc;

namespace Himp.Platform.Controllers;

public class HomeController : AbpController
{
    public ActionResult Index()
    {
        //// 将用户信息添加到上下文数据中
        //ExceptionlessClient.Default.Configuration.SetUserIdentity("your-user-id1", "John Doe");
        //// 记录日志信息
        //ExceptionlessClient.Default.CreateLog("This is a log message1")
        //    .AddObject(new { Key = "Value1" }, "Additional information")
        //    .Submit();

        return Redirect("~/swagger");
    }
}
